home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / WINHAK95.ZIP / PLUGINS / EXAMPL~4.WH < prev    next >
Encoding:
Text File  |  1996-04-21  |  947 b   |  42 lines

  1. // WinHacker Script
  2. // Copyright (c) 1996 Wedge Software
  3. //
  4. // Ask example INI script
  5. //
  6. //
  7. // This shows how you can Ask the user a question inside
  8. // a script file.
  9. //
  10. // Use the item "Ask" and set the value to what you want
  11. // to ask the user.  If the user answers YES, the procedure
  12. // will run, if they answer NO, the current procedure will
  13. // be canceled, and the next one will run.
  14. //
  15.  
  16. [Main]
  17. Desc = This just shows how to ask questions
  18. Ask = Click yes, this is in Main
  19. StartMessage = This is a start message.
  20. ExitMessage = This is a exit message.
  21.  
  22. [Ini]
  23. Procs = 2
  24.  
  25. [IniProc#1]
  26. Ask = Run Procedure Number 1?
  27. Location = Browse
  28. File = test.ini
  29. Section = General
  30. Item = One
  31. Action = Write
  32. Value = This is a string written by IniProc#1
  33.  
  34. [IniProc#2]
  35. Ask = Run Procedure Number 2?
  36. Location = Browse
  37. File = test.ini
  38. Section = General
  39. Item = Two
  40. Action = Write
  41. Value = This is a string written by IniProc#2
  42.